package com.wjc.train.business.repository;

import com.wjc.train.business.entity.DailyTrainTicket;
import com.wjc.train.business.mapper.DailyTrainTicketMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Repository;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wjc.train.business.req.DailyTrainTicketQueryReq;
import com.wjc.train.business.resp.DailyTrainTicketQueryResp;

/**
 * <p>
 * 余票信息 仓储类
 * </p>
 *
 * @author Guessed
 * @since 2023-08-11
 */
@Repository
public class DailyTrainTicketRepository extends ServiceImpl<DailyTrainTicketMapper, DailyTrainTicket> implements IService<DailyTrainTicket>  {

   public IPage<DailyTrainTicketQueryResp> queryList(IPage<DailyTrainTicketQueryResp> page, DailyTrainTicketQueryReq dailytrainticketQueryReq) {
        return baseMapper.queryList(page,dailytrainticketQueryReq);
    }

}